package org.tea.inventory.db.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class AlumniWorkerWelfare {
    private Integer id;

    private String employeno;

    private String workerName;

    private String welfareName;

    private String redemptionCode;

    private String content;

    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date startTime;

    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date endTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date receiveTime;

    private String status;

    private Boolean inUsableTime; //在使用期内

    private String searchInput;//搜索内容

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEmployeno() {
        return employeno;
    }

    public void setEmployeno(String employeno) {
        this.employeno = employeno == null ? null : employeno.trim();
    }

    public String getWelfareName() {
        return welfareName;
    }

    public void setWelfareName(String welfareName) {
        this.welfareName = welfareName == null ? null : welfareName.trim();
    }

    public String getRedemptionCode() {
        return redemptionCode;
    }

    public void setRedemptionCode(String redemptionCode) {
        this.redemptionCode = redemptionCode == null ? null : redemptionCode.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Boolean getInUsableTime() { return inUsableTime; }

    public void setInUsableTime(Boolean inUsableTime) { this.inUsableTime = inUsableTime; }

    public String getSearchInput() { return searchInput; }

    public void setSearchInput(String searchInput) { this.searchInput = searchInput; }

    public String getWorkerName() { return workerName; }

    public void setWorkerName(String workerName) { this.workerName = workerName; }

    public Date getReceiveTime() { return receiveTime; }

    public void setReceiveTime(Date receiveTime) { this.receiveTime = receiveTime; }

}